﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Kindohm.Life.Library
{
    public class EatingEventArgs : EventArgs
    {
        Creature creature;
        IEdible food;
        int oldHealth;
        int newHealth;
        int oldHunger;
        int newHunger;
        int nutrition;

        public EatingEventArgs(Creature creature, IEdible food, int oldHealth, int newHealth, int oldHunger, int newHunger, int nutrition)
        {
            this.nutrition = nutrition;
            this.creature = creature;
            this.food = food;
            this.oldHealth = oldHealth;
            this.newHealth = newHealth;
            this.oldHunger = oldHunger;
            this.newHunger = newHunger;
        }

        public int Nutrition
        {
            get { return this.nutrition; }
        }

        public int OldHunger
        {
            get { return this.oldHunger; }
        }

        public int NewHunger
        {
            get { return this.newHunger; }
        }

        public int OldHealth
        {
            get { return this.oldHealth; }
        }

        public int NewHealth
        {
            get { return this.newHealth; }
        }

        public IEdible Food
        {
            get { return this.food; }
        }

        public Creature Creature
        {
            get { return this.creature; }
        }
    }
}
